跳到主要内容

toInt

Converts the CDocBuilderValue object to an integer.

Please note, that for the .docbuilder file the CDocBuilderValue.toInt method is not used.

Syntax

int toInt();

Example

Java

CDocBuilder.initialize("");
CDocBuilder builder = new CDocBuilder();
CDocBuilderContext context = builder.getContext();
CDocBuilderValue global = context.getGlobal();
int intValue = global.toInt();
CDocBuilder.dispose();